
const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  userinfo: (state) => state.user.userinfo,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  routes: (state) => state.user.routes,
  points: (state) => state.userinfo.roles.points,
  company: (state) => state.userinfo.company,
  departmentName: (state) => state.userinfo.departmentName
}
export default getters
